package run;

import lock.redisRenewDistLock.RedisDistLockWithDog;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ShenWei
 * @Date: 2024/07/04/7:59
 */
public class TestDogLock {
    public static void main(String[] args) throws InterruptedException {
        RedisDistLockWithDog redisDistLockWithDog = new RedisDistLockWithDog();

        redisDistLockWithDog.lock();
        Thread.sleep(5000);
//        redisDistLockWithDog.unlock();
    }
}
